﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _7
{
    class Jia:Calculate
    {
        public Jia(int a,int b)
        {
            this.a = a;
            this.b = b;
        }
        public override void DisplayResult()
        {
            base.DisplayResult();
            Console.WriteLine("{0}+{1}={2}",a,b,(a+b));
        }
    }
}
